<template>
  <div class="demo">
    <div class="container" style="  background-color: #eee;" v-for="item in navLists" :key="item">{{item}}</div>
    
    <AppsideNavBar :navLists="navLists"></AppsideNavBar>

    <div style="height:500px"></div>
  </div>
</template>

<script>
import AppsideNavBar from './components/AppsideNavBar.vue'
export default {
  components:{
    AppsideNavBar
  },
  data() {
    return {
      //nav栏的文字
      navLists: ["标题1", "标题2", "标题3", "标题4","标题5"],
    }
  }
}
</script>

<style scoped>
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.demo {
  width: 100%;

}
.container {
  width: 100%;
  height: 600px;
  font-size: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid black;
}
</style>

